package cn.anc.aonicardv.util.ui;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import cn.anc.aonicardv.R;
import cn.anc.httpcontrolutil.CarControlSettings;

/**
 * Created by baobaoding on 2017/6/5.
 */

public class CarSettingGuiHandler {
    public static CarSettingGuiResourceHandler carSettingGuiResourceHandler = new CarSettingGuiResourceHandler();

    private static class CarSettingGuiResourceHandler implements CarControlSettings.onSetSettingItemGuiResource {
        @Override
        public void pushSettingItemGuiResource(HashMap<String, CarControlSettings.SettingItemGuiResource> settingItemhashMap) {
            //系统设置
            settingItemhashMap.put(SETTING_ITEM_RESOLUTION, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_resolution, R.mipmap.setting_icon_resolution));
            settingItemhashMap.put(SETTING_ITEM_SCREEN_DISPLAY, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_screen_display, R.mipmap.setting_icon_video_mode));
            settingItemhashMap.put(SETTING_ITEM_LOOP_RECORDING, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_loop_recording, R.mipmap.setting_icon_loop_video));
            settingItemhashMap.put(SETTING_ITEM_WDR, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_wdr, R.mipmap.setting_icon_wdr));
            settingItemhashMap.put(SETTING_ITEM_TIME, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_time, R.mipmap.time));
            settingItemhashMap.put(SETTING_ITEM_VOLUME, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_volume, R.mipmap.volume));
            settingItemhashMap.put(SETTING_ITEM_BUTTON_SOUND, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_button_sound, R.mipmap.button_sound));
            settingItemhashMap.put(SETTING_ITEM_LANGUAGE, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_language, R.mipmap.language_setting));
            settingItemhashMap.put(SETTING_ITEM_LCD_AUTO_OFF, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_lcd_auto_off, R.mipmap.lcd_auto_off));
            settingItemhashMap.put(SETTING_ITEM_MIC, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_mic, R.mipmap.mic));
            settingItemhashMap.put(SETTING_ITEM_AUTO_POWER_OFF, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_auto_power_off, R.mipmap.auto_power_off));
            settingItemhashMap.put(SETTING_ITEM_FLICKER, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_flicker, R.mipmap.flicker));
            settingItemhashMap.put(SETTING_ITEM_EV, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_ev, R.mipmap.ev));
            settingItemhashMap.put(SETTING_ITEM_STAMP, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_stamp, R.mipmap.stamp));
            settingItemhashMap.put(SETTING_ITEM_DRIVER_ID, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.my_driver_number_setting, R.mipmap.driver_id));
            settingItemhashMap.put(SETTING_ITEM_FORMAT_SD_CARD, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_RECORDER_MSG,
                    R.string.car_setting_name_format_sd_card, R.mipmap.format_sd_card));
            settingItemhashMap.put(SETTING_ITEM_RTSP_SWITCH, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_rtsp_switch, R.mipmap.rtsp_switch));


            settingItemhashMap.put(SETTING_ITEM_RESTORE_FACTORY_SETTINGS, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_restore_factory_settings, R.mipmap.restore_factory_settings));
            settingItemhashMap.put(SETTING_ITEM_FORMAT_REMIND, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_format_remind, R.mipmap.setting_icon_format_prompt));
            settingItemhashMap.put(SETTING_ITEM_TIME_FORMAT, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_time_format, R.mipmap.setting_icon_time_format));
            settingItemhashMap.put(SETTING_ITEM_SLOW_RECORDING, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_slow_recording, R.mipmap.setting_icon_slow_recording));
            settingItemhashMap.put(SETTING_ITEM_HDR, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_hdr, R.mipmap.setting_icon_hdr));
            settingItemhashMap.put(SETTING_ITEM_BEEP_SOUND, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_beep_sound, R.mipmap.setting_icon_beep_sound));
            settingItemhashMap.put(SETTING_ITEM_IMAGE_QUALITY, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_image_quality, R.mipmap.setting_icon_image_quality));
            settingItemhashMap.put(SETTING_ITEM_WB, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_wb, R.mipmap.setting_icon_wb));
            settingItemhashMap.put(SETTING_ITEM_POWER_OFF_DELAY, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_power_off_delay, R.mipmap.setting_icon_power_off_delay));
            settingItemhashMap.put(SETTING_ITEM_POWER_ON_DELAY, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_power_on_delay, R.mipmap.setting_icon_power_on_delay));

            //行车安全设置
            settingItemhashMap.put(SETTING_ITEM_PARKING_MODE, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_CAR_SAFE_SETTING,
                    R.string.car_setting_name_parking_mode, R.mipmap.parking_mode));
            settingItemhashMap.put(SETTING_ITEM_GSENSOR, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_CAR_SAFE_SETTING,
                    R.string.car_setting_name_gsensor, R.mipmap.gsensor));
            settingItemhashMap.put(SETTING_ITEM_OPEN_LIGHT, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_CAR_SAFE_SETTING,
                    R.string.car_setting_name_open_light, R.mipmap.open_big_light));
            settingItemhashMap.put(SETTING_ITEM_TIRED_TIP, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_CAR_SAFE_SETTING,
                    R.string.car_setting_name_tired_tip, R.mipmap.tired_tip));
            settingItemhashMap.put(SETTING_ITEM_MOTION_DETECT, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_CAR_SAFE_SETTING,
                    R.string.car_setting_name_motion_detect, R.mipmap.move_detect));
            settingItemhashMap.put(SETTING_ITEM_TSR, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_CAR_SAFE_SETTING,
                    R.string.car_setting_name_tsr, R.mipmap.setting_icon_speed_limit_sign));
            settingItemhashMap.put(SETTING_ITEM_RECORD_MODE, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_CAR_SAFE_SETTING,
                    R.string.car_setting_name_record_code, R.mipmap.setting_icon_monitor_mode));
            settingItemhashMap.put(SETTING_ITEM_SNG, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_CAR_SAFE_SETTING,
                    R.string.car_setting_name_sng, R.mipmap.setting_icon_vehicle_ahead_start));
            // WIFI 设置
            settingItemhashMap.put(SETTING_ITEM_WIFI_PASSWORD_MODIFY, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_WIFI_SETTING,
                    R.string.car_setting_name_wifi_setting, R.mipmap.wifi_setting));

            // 蓝牙 设置
            settingItemhashMap.put(SETTING_ITEM_BLUETOOTH, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_WIFI_SETTING,
                    R.string.car_setting_name_bluetooth_setting, R.mipmap.settings_icon_bluetooth));
            // 记录仪信息
            settingItemhashMap.put(SETTING_ITEM_SD_CARD_SIZE, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_RECORDER_MSG,
                    R.string.car_setting_name_sd_card_size, R.mipmap.sd));
            settingItemhashMap.put(SETTING_ITEM_FW_VERSION, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_RECORDER_MSG,
                    R.string.car_setting_name_fw_version, R.mipmap.fw_version));
            settingItemhashMap.put(SETTING_ITEM_APP_VERSION, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_RECORDER_MSG,
                    R.string.car_setting_name_app_version, R.mipmap.fw_version));


            settingItemhashMap.put(SETTING_ITEM_SN, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_RECORDER_MSG,
                    R.string.car_setting_name_device_sn, R.mipmap.device_sn));

            settingItemhashMap.put(SETTING_ITEM_FIRMWARE_UPDATE, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_RECORDER_MSG,
                    R.string.car_setting_name_firmware_update, R.mipmap.firmware_update));
            settingItemhashMap.put(SETTING_ITEM_OVERSPEED, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_CAR_SAFE_SETTING,
                    R.string.car_setting_name_overspeed, R.mipmap.firmware_update));
            settingItemhashMap.put(SETTING_ITEM_FCW, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_CAR_SAFE_SETTING,
                    R.string.car_setting_name_fcw, R.mipmap.firmware_update));

            settingItemhashMap.put(SETTING_ITEM_LDWS, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_CAR_SAFE_SETTING,
                    R.string.car_setting_name_ldws, R.mipmap.firmware_update));
            settingItemhashMap.put(SETTING_ITEM_SPEED_UNIT, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_speed_unit, R.mipmap.firmware_update));

            settingItemhashMap.put(SETTING_ITEM_GPS_FORMAT, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_gps_format, R.mipmap.firmware_update));

            settingItemhashMap.put(SETTING_ITEM_IR_LED, new CarControlSettings.SettingItemGuiResource(
                    CAR_SETTING_GROUP_ID.GROUP_SYSTEM_SETTING,
                    R.string.car_setting_name_ir_led, R.mipmap.settings_icon_ir_red));


        }

        @Override
        public void pushSettingOptionGuiResource(HashMap<String, List<CarControlSettings.SettingOptionGuiResource>> settingOptionhashMap) {
            List<CarControlSettings.SettingOptionGuiResource> list1 = new ArrayList<>();
            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_720P720P, R.string.car_setting_resolution_720p720p, -1));
            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_1080P1080P, R.string.car_setting_resolution_1080p1080p, -1));
            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_1524P30FPS, R.string.car_setting_resolution_1524P30FPS, -1));
            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_1440P30FPS, R.string.car_setting_resolution_1440p30fps, -1));
            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_1296P30FPS, R.string.car_setting_resolution_1296p30fps, -1));
            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_1080P60FPS, R.string.car_setting_resolution_1080p60fps, -1));
            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_1080P30FPS, R.string.car_setting_resolution_1080p30fps, -1));
            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_720P30FPS, R.string.car_setting_resolution_720p30fps, -1));
            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_720P60FPS, R.string.car_setting_resolution_720p60fps, -1));
            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_720P120FPS, R.string.car_setting_resolution_720p120fps, -1));

            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_1080P1080PR, R.string.car_setting_resolution_1080p1080pr, -1));
            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_1296P720P, R.string.car_setting_resolution_1296p720p, -1));
            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_1296P720PR, R.string.car_setting_resolution_1296p720pr, -1));
            list1.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RESOLUTION_4KP30FPS, R.string.car_setting_resolution_4kp30fps, -1));
            settingOptionhashMap.put(SETTING_ITEM_RESOLUTION, list1);
            List<CarControlSettings.SettingOptionGuiResource> list2 = new ArrayList<>();
            list2.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_SCREEN_DISPLAY_FRONT, R.string.car_setting_screen_display_front, -1));
            list2.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_SCREEN_DISPLAY_REAR, R.string.car_setting_screen_display_rear, -1));
            list2.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_SCREEN_DISPLAY_BOTH, R.string.car_setting_screen_display_both, -1));
            list2.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_SCREEN_DISPLAY_BOTH_FRONT_FULL, R.string.car_setting_screen_display_both_front_full, -1));
            list2.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_SCREEN_DISPLAY_BOTH_REAR_FULL, R.string.car_setting_screen_display_both_rear_full, -1));
            list2.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_SCREEN_DISPLAY_BOTH, R.string.car_setting_screen_display_both, -1));
            settingOptionhashMap.put(SETTING_ITEM_SCREEN_DISPLAY, list2);

            List<CarControlSettings.SettingOptionGuiResource> list3 = new ArrayList<>();
            list3.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LOOP_RECORDING_1MIN, R.string.car_setting_loop_recording_1min, -1));
            list3.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LOOP_RECORDING_3MIN, R.string.car_setting_loop_recording_3min, -1));
            list3.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LOOP_RECORDING_5MIN, R.string.car_setting_loop_recording_5min, -1));
            settingOptionhashMap.put(SETTING_ITEM_LOOP_RECORDING, list3);

            List<CarControlSettings.SettingOptionGuiResource> list4 = new ArrayList<>();
            list4.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LOOP_RECORDING_1MIN, R.string.car_setting_loop_recording_1min, -1));
            list4.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LOOP_RECORDING_3MIN, R.string.car_setting_loop_recording_3min, -1));
            list4.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LOOP_RECORDING_5MIN, R.string.car_setting_loop_recording_5min, -1));
            settingOptionhashMap.put(SETTING_ITEM_WDR, list4);

            List<CarControlSettings.SettingOptionGuiResource> list5 = new ArrayList<>();
            list5.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_TSR_VOICE, R.string.car_setting_tsr_voice, -1));
            list5.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_TSR_BEEP, R.string.car_setting_tsr_beep, -1));
            list5.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_TSR_OFF, R.string.car_setting_tsr_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_TSR, list5);

            List<CarControlSettings.SettingOptionGuiResource> list6 = new ArrayList<>();
            list6.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RECORD_MODE_1FPS, R.string.car_setting_record_mode_1fps, -1));
            list6.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RECORD_MODE_MOTION_DETECTION, R.string.car_setting_record_mode_motion_detection, -1));
            list6.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_RECORD_MODE_OFF, R.string.car_setting_record_mode_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_RECORD_MODE, list6);

            List<CarControlSettings.SettingOptionGuiResource> list7 = new ArrayList<>();
            list7.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_FORMAT_REMIND_15DAYS, R.string.car_setting_format_remind_15days, -1));
            list7.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_FORMAT_REMIND_30DAYS, R.string.car_setting_format_remind_30days, -1));
            list7.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_FORMAT_REMIND_60DAYS, R.string.car_setting_format_remind_60days, -1));
            list7.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_FORMAT_REMIND_OFF, R.string.car_setting_format_remind_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_FORMAT_REMIND, list7);

            List<CarControlSettings.SettingOptionGuiResource> list8 = new ArrayList<>();
            list8.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_ON, R.string.car_setting_option_on, -1));
            list8.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_OFF, R.string.car_setting_option_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_SNG, list8);
            //时间设置选项
            List<CarControlSettings.SettingOptionGuiResource> list9 = new ArrayList<>();
            list9.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_TIME_OPTION_AUTO, R.string.car_setting_time_option_auto, -1));
            list9.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_TIME_OPTION_MANUAL, R.string.car_setting_time_option_manual, -1));
            settingOptionhashMap.put(SETTING_ITEM_TIME, list9);
            //喇叭音量设置选项
            List<CarControlSettings.SettingOptionGuiResource> list10 = new ArrayList<>();
            list10.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_VOLUME_OPTION_OFF, R.string.car_setting_volume_option_off, -1));
            list10.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_VOLUME_OPTION_LOW, R.string.car_setting_volume_option_low, -1));
            list10.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_VOLUME_OPTION_MEDIUM, R.string.car_setting_volume_option_medium, -1));
            list10.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_VOLUME_OPTION_HIGH, R.string.car_setting_volume_option_high, -1));

            list10.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_VOLUME_MUTE, R.string.setting_item_volume_mute, -1));
            list10.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_VOLUME_100, R.string.setting_item_volume_100, -1));
            list10.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_VOLUME_100_PER, R.string.setting_item_volume_100, -1));
            list10.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_VOLUME_80, R.string.setting_item_volume_80, -1));
            list10.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_VOLUME_75, R.string.setting_item_volume_75, -1));
            list10.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_VOLUME_75_PER, R.string.setting_item_volume_75, -1));
            list10.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_VOLUME_60, R.string.setting_item_volume_60, -1));
            list10.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_VOLUME_50, R.string.setting_item_volume_50, -1));
            list10.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_VOLUME_50_PER, R.string.setting_item_volume_50, -1));
            settingOptionhashMap.put(SETTING_ITEM_VOLUME, list10);
            //按键音设置选项
            List<CarControlSettings.SettingOptionGuiResource> list11 = new ArrayList<>();
            list11.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_ON, R.string.car_setting_option_on, -1));
            list11.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_OFF, R.string.car_setting_option_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_BUTTON_SOUND, list11);
            //语言设置选项
            List<CarControlSettings.SettingOptionGuiResource> list12 = new ArrayList<>();
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_ENGLISH, R.string.car_setting_language_option_english, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_GERMAN, R.string.car_setting_language_option_german, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_JAPAN, R.string.car_setting_language_option_japan, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_SPANISH, R.string.car_setting_language_option_spanish, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_FRENCH, R.string.car_setting_language_option_french, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_ITALIAN, R.string.car_setting_language_option_italian, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_CHINA_SIMPLE, R.string.car_setting_language_option_china_simple, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_CHINA_COMPLEX, R.string.car_setting_language_option_china_complex, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_RUSSIA, R.string.car_setting_language_option_russia, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_HUNGARY, R.string.car_setting_language_option_hungary, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_SLOVAKIAN, R.string.car_setting_language_option_slovakian, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_CZECHREPUBLIC, R.string.car_setting_language_option_czechrepublic, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_SLASK, R.string.car_setting_language_option_slask, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_POLISH, R.string.car_setting_language_option_portugal, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_ITALIAN_UPPERCASE, R.string.car_setting_language_option_italian, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_GERMAN_UPPERCASE, R.string.car_setting_language_option_german, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_FRENCH_UPPERCASE, R.string.car_setting_language_option_french, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_SPANISH_UPPERCASE, R.string.car_setting_language_option_spanish, -1));
            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_JAPAN_UPPERCASE, R.string.car_setting_language_option_japan, -1));

            list12.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LANGUAGE_OPTION_PORTUGAL, R.string.car_setting_language_option_portugal, -1));

            settingOptionhashMap.put(SETTING_ITEM_LANGUAGE, list12);
            //自动息屏设置选项
            List<CarControlSettings.SettingOptionGuiResource> list13 = new ArrayList<>();
            list13.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LCD_AUTO_OFF_OPTION_OFF, R.string.car_setting_lcd_auto_off_option_off, -1));
            list13.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LCD_AUTO_OFF_OPTION_30SEC, R.string.car_setting_auto_power_off_option_30sec, -1));
            list13.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LCD_AUTO_OFF_OPTION_1MIN, R.string.car_setting_lcd_auto_off_option_1min, -1));
            list13.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LCD_AUTO_OFF_OPTION_3MIN, R.string.car_setting_lcd_auto_off_option_3min, -1));
            list13.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LCD_AUTO_OFF_OPTION_5MIN, R.string.car_setting_lcd_auto_off_option_5min, -1));
            settingOptionhashMap.put(SETTING_ITEM_LCD_AUTO_OFF, list13);
            //录音设置选项
            List<CarControlSettings.SettingOptionGuiResource> list14 = new ArrayList<>();
            list14.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_ON, R.string.car_setting_option_on, -1));
            list14.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_OFF, R.string.car_setting_option_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_MIC, list14);
            //自动关机选项
            List<CarControlSettings.SettingOptionGuiResource> list15 = new ArrayList<>();


            list15.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_AUTO_POWER_OFF_OPTION_OFF, R.string.car_setting_auto_power_off_option_off, -1));
            list15.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_AUTO_POWER_OFF_OPTION_1MIN, R.string.car_setting_auto_power_off_option_1min, -1));
            list15.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_AUTO_POWER_OFF_OPTION_3MIN, R.string.car_setting_auto_power_off_option_3min, -1));
            list15.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_AUTO_POWER_OFF_OPTION_5MIN, R.string.car_setting_auto_power_off_option_5min, -1));
            settingOptionhashMap.put(SETTING_ITEM_AUTO_POWER_OFF, list15);
            //闪屏校正选项
            List<CarControlSettings.SettingOptionGuiResource> list16 = new ArrayList<>();
            list16.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_FLICKER_OPTION_AUTO, R.string.car_setting_flicker_option_auto, -1));
            list16.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_FLICKER_OPTION_50HZ, R.string.car_setting_flicker_option_50hz, -1));
            list16.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_FLICKER_OPTION_60HZ, R.string.car_setting_flicker_option_60hz, -1));
            settingOptionhashMap.put(SETTING_ITEM_FLICKER, list16);
            //水印设置选项
            List<CarControlSettings.SettingOptionGuiResource> list17 = new ArrayList<>();
            list17.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_STAMP_OPTION_DATE, R.string.car_setting_stamp_option_date, -1));
            list17.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_STAMP_OPTION_TIME, R.string.car_setting_stamp_option_time, -1));
            list17.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_STAMP_OPTION_GPS, R.string.car_setting_stamp_option_gps, -1));
            list17.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_STAMP_OPTION_LOGO, R.string.car_setting_stamp_option_logo, -1));
            list17.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_STAMP_OPTION_SPEED, R.string.car_setting_stamp_option_speed, -1));
            list17.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_STAMP_OPTION_DRIVER_ID, R.string.car_setting_stamp_option_driver_id, -1));
            settingOptionhashMap.put(SETTING_ITEM_STAMP, list17);

            //停车监控选项
            List<CarControlSettings.SettingOptionGuiResource> list18 = new ArrayList<>();
            list18.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_PARKING_MODE_OPTION_ON, R.string.car_setting_option_on, -1));
            list18.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_PARKING_MODE_OPTION_OFF, R.string.car_setting_option_off, -1));
            list18.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_PARKING_MODE_OPTION_SLOW_RECORDING, R.string.car_setting_record_mode_1fps, -1));
            list18.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_PARKING_MODE_OPTION_MOTION_DETECT, R.string.car_setting_record_motion_detect, -1));
            list18.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_PARKING_MODE_OPTION_PARKING_MODE, R.string.car_setting_record_parking_mode, -1));
            settingOptionhashMap.put(SETTING_ITEM_PARKING_MODE, list18);
            //碰撞灵敏度选项
            List<CarControlSettings.SettingOptionGuiResource> list19 = new ArrayList<>();
            list19.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_GSENSOR_OPTION_OFF, R.string.car_setting_gsensor_option_off, -1));
            list19.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_GSENSOR_OPTION_LOW, R.string.car_setting_gsensor_option_low, -1));
            list19.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_GSENSOR_OPTION_MEDIUM, R.string.car_setting_gsensor_option_medium, -1));
            list19.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_GSENSOR_OPTION_HIGH, R.string.car_setting_gsensor_option_high, -1));
            settingOptionhashMap.put(SETTING_ITEM_GSENSOR, list19);
            //开大灯选项
            List<CarControlSettings.SettingOptionGuiResource> list20 = new ArrayList<>();
            list20.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_ON, R.string.car_setting_option_on, -1));
            list20.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_OFF, R.string.car_setting_option_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_OPEN_LIGHT, list20);
            //疲劳驾驶选项
            List<CarControlSettings.SettingOptionGuiResource> list21 = new ArrayList<>();
            list21.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_TIRED_TIP_OPTION_OFF, R.string.car_setting_tired_tip_option_off, -1));
            list21.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_TIRED_TIP_OPTION_30M, R.string.car_setting_tired_tip_option_30m, -1));
            list21.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_TIRED_TIP_OPTION_1H, R.string.car_setting_tired_tip_option_1h, -1));
            list21.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_TIRED_TIP_OPTION_2H, R.string.car_setting_tired_tip_option_2h, -1));
            list21.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_TIRED_TIP_OPTION_3H, R.string.car_setting_tired_tip_option_3h, -1));
            list21.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_TIRED_TIP_OPTION_4H, R.string.car_setting_tired_tip_option_4h, -1));
            settingOptionhashMap.put(SETTING_ITEM_TIRED_TIP, list21);
            //移动侦测选项
            List<CarControlSettings.SettingOptionGuiResource> list22 = new ArrayList<>();
            list22.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_ON, R.string.car_setting_option_on, -1));
            list22.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_OFF, R.string.car_setting_option_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_MOTION_DETECT, list22);

            List<CarControlSettings.SettingOptionGuiResource> list23 = new ArrayList<>();
            list23.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_ON, R.string.car_setting_option_on, -1));
            list23.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_OFF, R.string.car_setting_option_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_SLOW_RECORDING, list23);

            List<CarControlSettings.SettingOptionGuiResource> list24 = new ArrayList<>();
            list24.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_ON, R.string.car_setting_option_on, -1));
            list24.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_OFF, R.string.car_setting_option_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_HDR, list24);

            List<CarControlSettings.SettingOptionGuiResource> list25 = new ArrayList<>();
            list25.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_ON, R.string.car_setting_option_on, -1));
            list25.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OPTION_OFF, R.string.car_setting_option_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_BEEP_SOUND, list25);

            List<CarControlSettings.SettingOptionGuiResource> list26 = new ArrayList<>();
            list26.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_YYYY_MM_DD, R.string.car_setting_time_format_yyyy_mm_dd, -1));
            list26.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_MM_DD_YYYY, R.string.car_setting_time_format_mm_dd_yyyy, -1));
            list26.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_DD_MM_YYYY, R.string.car_setting_time_format_dd_mm_yyyy, -1));
            settingOptionhashMap.put(SETTING_ITEM_TIME_FORMAT, list26);

            List<CarControlSettings.SettingOptionGuiResource> list27 = new ArrayList<>();
            list27.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_IMAGE_QUALITY_SFINE, R.string.car_setting_image_quality_sfine, -1));
            list27.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_IMAGE_QUALITY_FINE, R.string.car_setting_image_quality_fine, -1));
            list27.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_IMAGE_QUALITY_NORMAL, R.string.car_setting_image_quality_normal, -1));
            settingOptionhashMap.put(SETTING_ITEM_IMAGE_QUALITY, list27);

            List<CarControlSettings.SettingOptionGuiResource> list28 = new ArrayList<>();
            list28.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_POWER_OFF_DELAY_10SEC, R.string.car_setting_power_off_delay_10s, -1));
            list28.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_POWER_OFF_DELAY_20SEC, R.string.car_setting_power_off_delay_20s, -1));
            list28.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_POWER_OFF_DELAY_30SEC, R.string.car_setting_power_off_delay_30s, -1));
            settingOptionhashMap.put(SETTING_ITEM_POWER_OFF_DELAY, list28);

            List<CarControlSettings.SettingOptionGuiResource> list29 = new ArrayList<>();
            list29.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_POWER_ON_DELAY_10SEC, R.string.car_setting_power_on_delay_10s, -1));
            list29.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_POWER_ON_DELAY_20SEC, R.string.car_setting_power_on_delay_20s, -1));
            list29.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_POWER_ON_DELAY_30SEC, R.string.car_setting_power_on_delay_30s, -1));
            settingOptionhashMap.put(SETTING_ITEM_POWER_ON_DELAY, list29);

            List<CarControlSettings.SettingOptionGuiResource> list30 = new ArrayList<>();
            list30.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_WB_AUTO, R.string.car_setting_wb_auto, -1));
            list30.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_WB_CLOUDY, R.string.car_setting_wb_cloudy, -1));
            list30.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_WB_FLUORESCENT, R.string.car_setting_wb_fluorescent, -1));
            list30.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_WB_INCANDESCENT, R.string.car_setting_wb_incandescent, -1));
            list30.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_WB_SUNNY, R.string.car_setting_wb_sunny, -1));
            settingOptionhashMap.put(SETTING_ITEM_WB, list30);

            List<CarControlSettings.SettingOptionGuiResource> list31 = new ArrayList<>();
            list31.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OVERSPEED_OFF, R.string.setting_item_overspeed_off, -1));
            list31.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OVERSPEED_70KM, R.string.setting_item_overspeed_70km, -1));
            list31.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OVERSPEED_80KM, R.string.setting_item_overspeed_80km, -1));
            list31.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OVERSPEED_90KM, R.string.setting_item_overspeed_90km, -1));
            list31.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OVERSPEED_100KM, R.string.setting_item_overspeed_100km, -1));
            list31.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OVERSPEED_110KM, R.string.setting_item_overspeed_110km, -1));
            list31.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OVERSPEED_120KM, R.string.setting_item_overspeed_120km, -1));
            list31.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OVERSPEED_130KM, R.string.setting_item_overspeed_130km, -1));
            list31.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OVERSPEED_140KM, R.string.setting_item_overspeed_140km, -1));
            list31.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_OVERSPEED_150KM, R.string.setting_item_overspeed_150km, -1));
            settingOptionhashMap.put(SETTING_ITEM_OVERSPEED, list31);

            List<CarControlSettings.SettingOptionGuiResource> list32 = new ArrayList<>();
            list32.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_FCW_ON, R.string.car_setting_option_on, -1));
            list32.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_FCW_OFF, R.string.car_setting_option_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_FCW, list32);

            List<CarControlSettings.SettingOptionGuiResource> list33 = new ArrayList<>();
            list33.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LDWS_ON, R.string.car_setting_option_on, -1));
            list33.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_LDWS_OFF, R.string.car_setting_option_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_LDWS, list33);

            List<CarControlSettings.SettingOptionGuiResource> list34 = new ArrayList<>();
            list34.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_SPEED_UNIT_KM, R.string.setting_item_speed_unit_km, -1));
            list34.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_SPEED_UNIT_MPH, R.string.setting_item_speed_unit_mph, -1));
            settingOptionhashMap.put(SETTING_ITEM_SPEED_UNIT, list34);

            List<CarControlSettings.SettingOptionGuiResource> list36 = new ArrayList<>();
            list36.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_GPS_FORMAT_DD, R.string.setting_item_gps_format_dd, -1));
            list36.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_GPS_FORMAT_DMM, R.string.setting_item_gps_format_dmm, -1));
            settingOptionhashMap.put(SETTING_ITEM_GPS_FORMAT, list36);

            List<CarControlSettings.SettingOptionGuiResource> list37 = new ArrayList<>();
            list37.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_IR_LED_OFF, R.string.setting_item_gps_ir_led_off, -1));

            list37.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_IR_LED_ON, R.string.setting_item_gps_ir_led_on, -1));
            list37.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_IR_LED_AUTO, R.string.setting_item_gps_ir_led_auto, -1));
            settingOptionhashMap.put(SETTING_ITEM_IR_LED, list37);

            List<CarControlSettings.SettingOptionGuiResource> list38 = new ArrayList<>();
            list38.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_BLUETOOTH_ON, R.string.car_setting_option_on, -1));
            list38.add(new CarControlSettings.SettingOptionGuiResource(
                    SETTING_ITEM_BLUETOOTH_OFF, R.string.car_setting_option_off, -1));
            settingOptionhashMap.put(SETTING_ITEM_BLUETOOTH, list38);

        }
    }

    public static class CAR_SETTING_GROUP_ID {
        public static final int GROUP_SYSTEM_SETTING = 0;
        public static final int GROUP_CAR_SAFE_SETTING = 1;
        public static final int GROUP_WIFI_SETTING = 2;
        public static final int GROUP_RECORDER_MSG = 3;
    }

    public static final String SETTING_ITEM_TIME = "time";
    public static final String SETTING_ITEM_VOLUME = "volume";
    public static final String SETTING_ITEM_BUTTON_SOUND = "button_sound";
    public static final String SETTING_ITEM_LANGUAGE = "language";
    public static final String SETTING_ITEM_LCD_AUTO_OFF = "lcd_auto_off";
    public static final String SETTING_ITEM_MIC = "mic";
    public static final String SETTING_ITEM_AUTO_POWER_OFF = "auto_power_off";
    public static final String SETTING_ITEM_FLICKER = "flicker";
    public static final String SETTING_ITEM_EV = "ev";
    public static final String SETTING_ITEM_STAMP = "stamp";
    public static final String SETTING_ITEM_DRIVER_ID = "driver_id";
    public static final String SETTING_ITEM_FORMAT_SD_CARD = "format_sd_card";
    public static final String SETTING_ITEM_RTSP_SWITCH = "rtsp_switch";
    public static final String SETTING_ITEM_RESTORE_FACTORY_SETTINGS = "restore_factory_settings";



    //    驻车监控
    public static final String SETTING_ITEM_PARKING_MODE = "parking_mode";
    //    驻车监控 子选项
    public static final String SETTING_ITEM_PARKING_MODE_OPTION_SLOW_RECORDING = "slow_recording";
    public static final String SETTING_ITEM_PARKING_MODE_OPTION_MOTION_DETECT = "motion_detect";
    public static final String SETTING_ITEM_PARKING_MODE_OPTION_PARKING_MODE = "parking_mode";
    public static final String SETTING_ITEM_PARKING_MODE_OPTION_ON = "on";
    public static final String SETTING_ITEM_PARKING_MODE_OPTION_OFF = "off";


    public static final String SETTING_ITEM_GSENSOR = "gsensor";
    public static final String SETTING_ITEM_OPEN_LIGHT = "open_light";
    public static final String SETTING_ITEM_TIRED_TIP = "tired_tip";
    public static final String SETTING_ITEM_MOTION_DETECT = "motion_detect";
    public static final String SETTING_ITEM_WIFI_PASSWORD_MODIFY = "wifi_password_modify";
    public static final String SETTING_ITEM_WIFI = "wifi";
    public static final String SETTING_ITEM_FW_VERSION = "fw_version";
    public static final String SETTING_ITEM_APP_VERSION = "app_version";
    public static final String SETTING_ITEM_SN = "sn";
    public static final String SETTING_ITEM_FIRMWARE_UPDATE = "setting_item_firmware_update";
    public static final String SETTING_ITEM_SD_CARD_SIZE = "sd_card_size";
    public static final String SETTING_ITEM_RESOLUTION = "resolution";
    public static final String SETTING_ITEM_SCREEN_DISPLAY = "screen_display";
    public static final String SETTING_ITEM_LOOP_RECORDING = "loop_recording";
    public static final String SETTING_ITEM_WDR = "wdr";
    public static final String SETTING_ITEM_TSR = "tsr";
    public static final String SETTING_ITEM_SNG = "sng";
    public static final String SETTING_ITEM_RECORD_MODE = "record_mode";
    public static final String SETTING_ITEM_FORMAT_REMIND = "format_remind";
    public static final String SETTING_ITEM_TIME_FORMAT = "time_format";
    public static final String SETTING_ITEM_SLOW_RECORDING = "slow_recording";
    public static final String SETTING_ITEM_HDR = "hdr";
    public static final String SETTING_ITEM_BEEP_SOUND = "beep_sound";
    public static final String SETTING_ITEM_IMAGE_QUALITY = "image_quality";
    public static final String SETTING_ITEM_WB = "wb";
    public static final String SETTING_ITEM_POWER_ON_DELAY = "power_on_delay";
    public static final String SETTING_ITEM_POWER_OFF_DELAY = "power_off_delay";
    public static final String SETTING_ITEM_OVERSPEED = "overspeed";
    public static final String SETTING_ITEM_FCW = "fcw";
    public static final String SETTING_ITEM_LDWS = "ldws";
    public static final String SETTING_ITEM_SPEED_UNIT = "speed_unit";

    public static final String SETTING_ITEM_GPS_FORMAT = "gps_format";
    public static final String SETTING_ITEM_IR_LED = "ir_led";

    public static final String SETTING_ITEM_BLUETOOTH = "blueteeth";


    //菜单选项值
    public static final String SETTING_ITEM_TIME_OPTION_AUTO = "auto";
    public static final String SETTING_ITEM_TIME_OPTION_MANUAL = "manual";

    public static final String SETTING_ITEM_VOLUME_OPTION_OFF = "off";
    public static final String SETTING_ITEM_VOLUME_OPTION_LOW = "low";
    public static final String SETTING_ITEM_VOLUME_OPTION_MEDIUM = "medium";
    public static final String SETTING_ITEM_VOLUME_OPTION_HIGH = "high";
    public static final String SETTING_ITEM_VOLUME_MUTE = "mute";
    public static final String SETTING_ITEM_VOLUME_100 = "100";
    public static final String SETTING_ITEM_VOLUME_100_PER = "100%";
    public static final String SETTING_ITEM_VOLUME_80 = "80";
    public static final String SETTING_ITEM_VOLUME_75 = "75";
    public static final String SETTING_ITEM_VOLUME_75_PER = "75%";
    public static final String SETTING_ITEM_VOLUME_60 = "60";
    public static final String SETTING_ITEM_VOLUME_50 = "50";
    public static final String SETTING_ITEM_VOLUME_50_PER = "50%";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_ENGLISH = "English";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_GERMAN = "German";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_JAPAN = "Japan";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_SPANISH = "Spanish";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_FRENCH = "French";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_ITALIAN = "Italian";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_CHINA_SIMPLE = "ChineseSimple";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_CHINA_COMPLEX = "ChineseComplex";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_RUSSIA = "Russia";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_HUNGARY = "Hungary";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_SLOVAKIAN = "Slovakian";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_CZECHREPUBLIC = "CzechRepublic";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_SLASK = "Slask";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_POLISH = "Polish";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_PORTUGAL = "portugal";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_ITALIAN_UPPERCASE = "italian";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_GERMAN_UPPERCASE = "german";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_FRENCH_UPPERCASE = "french";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_SPANISH_UPPERCASE = "spanish";
    public static final String SETTING_ITEM_LANGUAGE_OPTION_JAPAN_UPPERCASE = "japan";


    public static final String SETTING_ITEM_LCD_AUTO_OFF_OPTION_OFF = "off";
    public static final String SETTING_ITEM_LCD_AUTO_OFF_OPTION_30SEC = "30sec";
    public static final String SETTING_ITEM_LCD_AUTO_OFF_OPTION_1MIN = "1min";
    public static final String SETTING_ITEM_LCD_AUTO_OFF_OPTION_3MIN = "3min";
    public static final String SETTING_ITEM_LCD_AUTO_OFF_OPTION_5MIN = "5min";

    public static final String SETTING_ITEM_AUTO_POWER_OFF_OPTION_30SEC = "30sec";
    public static final String SETTING_ITEM_AUTO_POWER_OFF_OPTION_60SEC = "60sec";
    public static final String SETTING_ITEM_AUTO_POWER_OFF_OPTION_90SEC = "90sec";

    public static final String SETTING_ITEM_AUTO_POWER_OFF_OPTION_OFF = "off";
    public static final String SETTING_ITEM_AUTO_POWER_OFF_OPTION_1MIN = "1min";
    public static final String SETTING_ITEM_AUTO_POWER_OFF_OPTION_3MIN = "3min";
    public static final String SETTING_ITEM_AUTO_POWER_OFF_OPTION_5MIN = "5min";

    public static final String SETTING_ITEM_FLICKER_OPTION_AUTO = "auto";
    public static final String SETTING_ITEM_FLICKER_OPTION_50HZ = "50hz";
    public static final String SETTING_ITEM_FLICKER_OPTION_60HZ = "60hz";

    public static final String SETTING_ITEM_STAMP_OPTION_DATE = "date";
    public static final String SETTING_ITEM_STAMP_OPTION_TIME = "time";
    public static final String SETTING_ITEM_STAMP_OPTION_DRIVER_ID = "driver_id";
    public static final String SETTING_ITEM_STAMP_OPTION_SPEED = "speed";
    public static final String SETTING_ITEM_STAMP_OPTION_GPS = "gps";
    public static final String SETTING_ITEM_STAMP_OPTION_LOGO = "logo";


    public static final String SETTING_ITEM_GSENSOR_OPTION_OFF = "off";
    public static final String SETTING_ITEM_GSENSOR_OPTION_LOW = "low";
    public static final String SETTING_ITEM_GSENSOR_OPTION_MEDIUM = "medium";
    public static final String SETTING_ITEM_GSENSOR_OPTION_HIGH = "high";

    public static final String SETTING_ITEM_TIRED_TIP_OPTION_OFF = "off";
    public static final String SETTING_ITEM_TIRED_TIP_OPTION_30M = "30m";
    public static final String SETTING_ITEM_TIRED_TIP_OPTION_1H = "1h";
    public static final String SETTING_ITEM_TIRED_TIP_OPTION_2H = "2h";
    public static final String SETTING_ITEM_TIRED_TIP_OPTION_3H = "3h";
    public static final String SETTING_ITEM_TIRED_TIP_OPTION_4H = "4h";

    public static final String SETTING_ITEM_OPTION_ON = "on";
    public static final String SETTING_ITEM_OPTION_OFF = "off";

    public static final String SETTING_ITEM_RESOLUTION_720P720P = "720P720P";
    public static final String SETTING_ITEM_RESOLUTION_1080P1080P = "1080P1080P";
    public static final String SETTING_ITEM_RESOLUTION_1524P30FPS = "1524P30FPS";
    public static final String SETTING_ITEM_RESOLUTION_1440P30FPS = "1440P30FPS";
    public static final String SETTING_ITEM_RESOLUTION_1296P30FPS = "1296P30FPS";
    public static final String SETTING_ITEM_RESOLUTION_1080P60FPS = "1080P60FPS";
    public static final String SETTING_ITEM_RESOLUTION_1080P30FPS = "1080P30FPS";
    public static final String SETTING_ITEM_RESOLUTION_720P120FPS = "720P120FPS";
    public static final String SETTING_ITEM_RESOLUTION_720P60FPS = "720P60FPS";
    public static final String SETTING_ITEM_RESOLUTION_720P30FPS = "720P30FPS";
    public static final String SETTING_ITEM_RESOLUTION_1080P1080PR = "1080P1080PR";
    public static final String SETTING_ITEM_RESOLUTION_1296P720P = "1296P720P";
    public static final String SETTING_ITEM_RESOLUTION_1296P720PR = "1296P720PR";
    public static final String SETTING_ITEM_RESOLUTION_4KP30FPS = "4KP30FPS";


    public static final String SETTING_ITEM_SCREEN_DISPLAY_FRONT = "front";
    public static final String SETTING_ITEM_SCREEN_DISPLAY_REAR = "rear";
    public static final String SETTING_ITEM_SCREEN_DISPLAY_BOTH = "both";
    public static final String SETTING_ITEM_SCREEN_DISPLAY_BOTH_FRONT_FULL = "both_front_full";
    public static final String SETTING_ITEM_SCREEN_DISPLAY_BOTH_REAR_FULL = "both_rear_full";

    public static final String SETTING_ITEM_LOOP_RECORDING_1MIN = "1min";
    public static final String SETTING_ITEM_LOOP_RECORDING_3MIN = "3min";
    public static final String SETTING_ITEM_LOOP_RECORDING_5MIN = "5min";

    public static final String SETTING_ITEM_TSR_VOICE = "voice";
    public static final String SETTING_ITEM_TSR_BEEP = "warning_tone";
    public static final String SETTING_ITEM_TSR_OFF = "off";

    public static final String SETTING_ITEM_RECORD_MODE_1FPS = "1fps";
    public static final String SETTING_ITEM_RECORD_MODE_MOTION_DETECTION = "motion_detection";
    public static final String SETTING_ITEM_RECORD_MODE_OFF = "off";

    public static final String SETTING_ITEM_FORMAT_REMIND_15DAYS = "15days";
    public static final String SETTING_ITEM_FORMAT_REMIND_30DAYS = "30days";
    public static final String SETTING_ITEM_FORMAT_REMIND_60DAYS = "60days";
    public static final String SETTING_ITEM_FORMAT_REMIND_OFF = "off";

    public static final String SETTING_ITEM_YYYY_MM_DD = "YYYY/MM/DD";
    public static final String SETTING_ITEM_MM_DD_YYYY = "MM/DD/YYYY";
    public static final String SETTING_ITEM_DD_MM_YYYY = "DD/MM/YYYY";

    public static final String SETTING_ITEM_IMAGE_QUALITY_SFINE = "sfine";
    public static final String SETTING_ITEM_IMAGE_QUALITY_FINE = "fine";
    public static final String SETTING_ITEM_IMAGE_QUALITY_NORMAL = "normal";

    public static final String SETTING_ITEM_WB_AUTO = "auto";
    public static final String SETTING_ITEM_WB_INCANDESCENT = "incandescent";
    public static final String SETTING_ITEM_WB_SUNNY = "sunny";
    public static final String SETTING_ITEM_WB_CLOUDY = "cloudy";
    public static final String SETTING_ITEM_WB_FLUORESCENT = "fluorescent";

    public static final String SETTING_ITEM_POWER_OFF_DELAY_10SEC = "10sec";
    public static final String SETTING_ITEM_POWER_OFF_DELAY_20SEC = "20sec";
    public static final String SETTING_ITEM_POWER_OFF_DELAY_30SEC = "30sec";

    public static final String SETTING_ITEM_POWER_ON_DELAY_10SEC = "10sec";
    public static final String SETTING_ITEM_POWER_ON_DELAY_20SEC = "20sec";
    public static final String SETTING_ITEM_POWER_ON_DELAY_30SEC = "30sec";


    public static final String SETTING_ITEM_OVERSPEED_OFF = "off";
    public static final String SETTING_ITEM_OVERSPEED_70KM = "70KM";
    public static final String SETTING_ITEM_OVERSPEED_80KM = "80KM";
    public static final String SETTING_ITEM_OVERSPEED_90KM = "90KM";
    public static final String SETTING_ITEM_OVERSPEED_100KM = "100KM";
    public static final String SETTING_ITEM_OVERSPEED_110KM = "110KM";
    public static final String SETTING_ITEM_OVERSPEED_120KM = "120KM";
    public static final String SETTING_ITEM_OVERSPEED_130KM = "130KM";
    public static final String SETTING_ITEM_OVERSPEED_140KM = "140KM";
    public static final String SETTING_ITEM_OVERSPEED_150KM = "150KM";

    public static final String SETTING_ITEM_FCW_ON = "on";
    public static final String SETTING_ITEM_FCW_OFF = "off";

    public static final String SETTING_ITEM_LDWS_ON = "on";
    public static final String SETTING_ITEM_LDWS_OFF = "off";
    public static final String SETTING_ITEM_SPEED_UNIT_KM = "km/h";
    public static final String SETTING_ITEM_SPEED_UNIT_MPH = "mph";

    public static final String SETTING_ITEM_GPS_FORMAT_DD = "dd";
    public static final String SETTING_ITEM_GPS_FORMAT_DMM = "dmm";

    public static final String SETTING_ITEM_IR_LED_OFF = "off";
    public static final String SETTING_ITEM_IR_LED_ON = "on";
    public static final String SETTING_ITEM_IR_LED_AUTO = "auto";

    public static final String SETTING_ITEM_BLUETOOTH_ON = "on";
    public static final String SETTING_ITEM_BLUETOOTH_OFF = "off";
}
